package util;


import java.text.*;
import java.util.Date;

public class DateControl {
	//获取当前日期
	public static String Date(){
		SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); 
		Date currentTime = new Date();
		String str_date1 = formatter.format(currentTime); 
		String str_date2 = str_date1.toString();
		return str_date2;
	}
	
	
}
